package com.test.project.system.notice.domain;

import com.test.framework.aspectj.lang.annotation.Excel;
import com.test.framework.web.domain.BaseEntity;

public class TNotice extends BaseEntity {

    private static final long serialVersionUID = 1L;


    private Long id;


    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String content;

    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String title;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "TNotice{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", title='" + title + '\'' +
                '}';
    }

    public static void main(String[] args) {
        TNotice tNotice = new TNotice();
        tNotice.setContent("hahah");
        tNotice.setId(1212l);
        tNotice.setTitle("q1");
        System.out.println(tNotice);
    }
}
